package com.dd.web.base.controller;

import com.dd.web.base.entity.common.CommonPage;
import com.dd.web.base.entity.data.UmsRole;
import com.dd.web.base.entity.view.RoleListParam;
import com.dd.web.base.service.UmsRoleService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * 后台用户角色管理
 * Created by macro on 2018/9/30.
 */
@Controller
@Api(tags = "UmsRoleController", description = "后台用户角色管理")
@RequestMapping("/base/role")
public class UmsRoleController {

    @Autowired
    private UmsRoleService roleService;

    @ApiOperation("分页查询")
    @GetMapping("/query")
    public CommonPage<UmsRole> queryListForPage(RoleListParam param){
        return null;
    }

}
